home *** CD-ROM | disk | FTP | other *** search
- !Help for DualPrint Version 1.22
- ----------------------------------
-
- Files included in this package :-
-
- !Run
- !RunImage
- !Sprites
- !Help
- DualComs
- Templates
-
- Purpose
- ---------
-
- DualPrint facilitates the printing of 2 column BASIC listings.
-
- 10 ***** 10 ***** 30 ***
- 20 **** 20 **** 40 **
- 30 *** > DualPrint > 50 *
- 40 **
- 50 *
-
- Usage
- -------
-
- Use *SPOOL or BEEBUG's "B_to_T" to generate a text file listing of the BASIC
- program you want displayed, then drag the file onto the DualPrint icon. Menu
- on the icon permits you to change the print pitch so that long lines are
- less likely to be split up. The selection is recorded by the tick to the
- left of the item. If your printer is not listed manually configure it to the
- desired print pitch, then use the Any printer option to tell DualPrint the
- number of characters on each line. To abort printing press <ESCAPE>.
-
- Notes
- -------
-
- Even when printing DualPrint is a multi-tasking application. Multiple
- installations of DualPrint are impossible. When a file is dragged onto the
- DualPrint icon it is copied onto the ram disc as "PrintFile". This file can
- itself be dragged onto DualPrint if you require a second copy. If the file
- is too large for the ram disc an error message will be issued giving the
- amount of memory to assign to the ram disc. Only DATA files and TEXT files
- are received. Any files which contain less than 2 lines of BASIC are
- ignored. It is impossible to load up a second file whilst DualPrint is
- processing the first. Lines from the file will be displayed only if they are
- terminated by a character of ASCII value 13 or less and the first non-space
- character is a numeral. If P is the print width (10 - 255 characters) the
- layout of a line is as follows :-
-
- {(P DIV 2 - 1) chars}" "{(P DIV 2 - 1) chars}
-
- A listing is split so that there is always a new line of BASIC heading the
- second column. Lines are sent to the printer once every null "Wimp_Poll"
- with *FX 3,10.
-
- DualComs 1.03
- ---------------
-
- This module provides 2 *Commands used by DualPrint.
-
- CheckEsc is the means by which DualPrint responds to the user pressing
- <ESCAPE>. If the command is prefixed by a 1 the keyboard event is enabled
- and an event handler installed; a 0 parameter removes the handler and
- releases the event. Attempts to install or remove the handler twice in
- succession will be ignored. After a CheckEsc command without a parameter the
- escape state will be passed in the user flag. If the user flag is set to 27
- the <ESCAPE> key has been pressed since the last check.
-
- Syntax : *CheckEsc [<0 1>]
-
- RamFS reserves an area of memory for the RAM Filing system. The size can be
- either bytes or Kilobytes, but the value will be rounded up to the nearest
- page boundary. If the ram disc is already larger than the new setting or if
- it contains files then it will not be altered.
-
- Syntax : *RamFS <size>[K]
-
- Versions
- ----------
-
- 1.00 Fully functional.
-
- 1.10 Menu expanded to cope with any printer, but the user must initialise
- the printer as required. Responds to !Help. Fix for an obscure bug.
- Appended ">" to listing. Traps Filing system or path 'RAM:' not
- present error. Checks to see whether the printer is connected. When
- printing is in progress, the printer options are shaded and pressing
- <ESCAPE> halts the preceedings.
-
- 1.11 Major flaw in the print layout corrected.
-
- 1.20 Listings enhanced by the identation of broken lines. Pause between
- pages implemented. PrintFile window contains name, number of lines,
- printer, print width, pause option, indent option and page length. The
- printer characteristics can be changed whilst the window is on screen.
- Polished the printer sensing. Debugged DualComs.
-
- ... Hopefully the last version ...
-
- 1.21 Prevented the options icons from becoming out of sync with the setting
- as a result of dragging. Improved the loading procedure. Definitive
- DualComs. Fixed 2 bugs in the file analysis routine.
-
- 1.22 Optimised the templates and made a few aesthetic changes to the
- program.
-
- Conditions of Use
- -------------------
-
- This application is supplied free for general use "as is", I cannot
- guarantee that it is free from bugs or give any warranty about its
- suitability for use. You have my permission to give this program to anyone
- you please via any medium, provided it is delivered with ALL original files.
- Please notify me immediately if you have any problems and I will see what
- can be done. I expressly forbid anybody to supply this program on a disc
- which is being charged for. If you bought this program contact me
- immediately. If you want to borrow some of my code for another shareware
- project then please remember to credit me! If you want to use my work for
- sale then my acceptance must be sought in writing. I maintain copyright on
- all the material supplied and reserve the right to ammend these conditions
- in cases where I deem misuse.
-
- Contacts
- ----------
-
- 63 Cromwell Rd
- Canterbury
- KENT
- CT1 3LE
-
- © Mark.J.Collier 1990